<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <title>[title] - 后台管理面板 - <{$siteName}> - <{$siteSubName}></title>
    <meta name="author" content="Jerry Locke">
    <meta name="copyright" content="Zulwi Studio">
    <link rel="stylesheet" href="__PUBLIC__/static/css/admin.css" />
</head>
<body>
<div class="wrapper">
<div class="topBox">
	<div class="logo fl"><img src="__PUBLIC__/static/img/admincp_logo.png" /></div>
	<div class="title fl"><{$siteName}> - 后台管理面板</div>
	<div class="account fr"><div class="user fl"><{$userInfo.username}></div><div class="avatar fl"><a href="__ROOT__/i" target="_blank"><img src="<{$userInfo.avatar|parseAvatar=###,50}>" /></a></div>
	<div class="accountMenu">&nbsp;&nbsp;<a href="__ROOT__/i">[返回前台]</a>&nbsp;<a href="<{:U('auth/logout')}>">[退出后台]</a></div>
	</div>
</div>
<div class="leftBox">
<ul class="leftNav">
	<li<?php if (strtolower(MODULE_NAME) == 'index') echo' class="current"'?>>
		<div class="menu home"><a href="__APP__">仪表盘</a></div>
	</li>
	<li<?php if (strtolower(MODULE_NAME) == 'user') echo' class="current"'?>>
		<div class="menu user"><a href="javascript:;">用户</a></div>
		<ul class="submenu"<?php if (strtolower(MODULE_NAME) == 'user') echo' style="display:block;"'?>>
			<li<?php if (strtolower(ACTION_NAME) == 'all') echo' class="current"'?>><a href="<{:U('user/all')}>">所有用户</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'admin') echo' class="current"'?>><a href="<{:U('user/admin')}>">管理员</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'verify') echo' class="current"'?>><a href="<{:U('user/verify')}>">待验证</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'log') echo' class="current"'?>><a href="<{:U('user/log')}>">日志</a></li>
		</ul>
	</li>
	<li<?php if (strtolower(MODULE_NAME) == 'group') echo' class="current"'?>>
		<div class="menu group"><a href="javascript:;">组别</a></div>
		<ul class="submenu"<?php if (strtolower(MODULE_NAME) == 'group') echo' style="display:block;"'?>>
			<li<?php if (strtolower(ACTION_NAME) == 'groups') echo' class="current"'?>><a href="<{:U('group/groups')}>">组别</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'grades') echo' class="current"'?>><a href="<{:U('group/grades')}>">年级</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'subjects') echo' class="current"'?>><a href="<{:U('group/subjects')}>">科目</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'categories') echo' class="current"'?>><a href="<{:U('group/categories')}>">类别</a></li>
		</ul>
	</li>
	<li<?php if (strtolower(MODULE_NAME) == 'content') echo' class="current"'?>>
		<div class="menu content"><a href="javascript:;">内容</a></div>
		<ul class="submenu"<?php if (strtolower(MODULE_NAME) == 'content') echo' style="display:block;"'?>>
			<li<?php if (strtolower(ACTION_NAME) == 'newarticle') echo' class="current"'?>><a href="<{:U('content/newArticle')}>">发布</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'books') echo' class="current"'?>><a href="<{:U('content/books')}>">教辅</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'videos') echo' class="current"'?>><a href="<{:U('content/videos')}>">视频</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'exams') echo' class="current"'?>><a href="<{:U('content/exams')}>">测验</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'comments') echo' class="current"'?>><a href="<{:U('content/comments')}>">评论</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'moods') echo' class="current"'?>><a href="<{:U('content/moods')}>">状态</a></li>
			<?php if(strtolower(MODULE_NAME) == 'content' && (strtolower(ACTION_NAME) =='edit' || strtolower(ACTION_NAME) == 'editmood' || strtolower(ACTION_NAME) == 'editcomment')) echo '<li class="current"><a href="#">编辑</a></li>'; ?>
		</ul>
	</li>
	<li<?php if (strtolower(MODULE_NAME) == 'setting') echo' class="current"'?>>
		<div class="menu setting"><a href="javascript:;">设置</a></div>
		<ul class="submenu"<?php if (strtolower(MODULE_NAME) == 'setting') echo' style="display:block;"'?>>
			<li<?php if (strtolower(ACTION_NAME) == 'basic') echo' class="current"'?>><a href="<{:U('setting/basic')}>">基本</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'mail') echo' class="current"'?>><a href="<{:U('setting/mail')}>">邮件</a></li>
			<li<?php if (strtolower(ACTION_NAME) == 'vcode') echo' class="current"'?>><a href="<{:U('setting/vcode')}>">验证码</a></li>
		</ul>
	</li>
	<li<?php if (strtolower(MODULE_NAME) == 'about') echo' class="current"'?>>
		<div class="menu about"><a href="<{:U('about/index')}>">关于</a></div>
	</li>
</ul>
</div>
<div class="wrapContent">
<div class="contents">
<div class="subContent">
<div class="mainContent">
<div class="innerContent">